package com.xiangyang.service.impl;

import com.xiangyang.entity.dto.Result;
import com.xiangyang.mapper.IDrugsMapper;
import com.xiangyang.mapper.IMedicineMapper;
import com.xiangyang.service.IMedicineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class MedicineServiceImpl implements IMedicineService {
    @Autowired
    private IMedicineMapper imedecineMapper;

    @Override
    public Result selectMedicine() {
        return Result.ok(imedecineMapper.selectMedicine());
    }
}
